package demo.sicua.votesystem.entity.PO;

import org.springframework.boot.autoconfigure.kafka.KafkaProperties;

public class UserPO {
    /**
     * user的主键id
     */
    private String id;

    private String username;

    private String password;

    private String realName;

    private String email;

    private String role;

    public UserPO(){

    }

    public UserPO(String id, String password, String realName, String email, String role){
        this.id  = id;
        this.realName = realName;
        this.password = password;
        this.email = email;
        this.role = role;
    }

    public UserPO(String id, String username, String password, String realName, String email,String role) {
        this.id  = id;
        this.realName = realName;
        this.password = password;
        this.username = username;
        this.email = email;
        this.role = role;
    }

    public String getAdmin() {
        return role;
    }

    public void setAdmin(String admin) {
        this.role = admin;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
